package com.zhangh.summer.admin.support.ds.common;

import com.zhangh.summer.admin.support.ds.redis.RedisClient;
import com.zhangh.summer.admin.support.ds.es.EsClientFactory;
import com.zhangh.summer.admin.support.ds.mysql.MybatisMapperFactory;
import com.zhangh.summer.admin.support.ds.mysql.MysqlSelector;
import com.zhangh.summer.admin.support.ds.rocketmq.RocketMQProducer;

/**
 * @description: 混合数据源
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2020-03-20 16:59
 **/
public interface MixedDS {

    public MysqlSelector mysql();

    public MybatisMapperFactory txDs();

    public RedisClient redis();

    public RedisClient redis(String redisName);

    public EsClientFactory es();

    public EsClientFactory es(String esName);

    public RocketMQProducer rocketMQProducer();

    //public Map<String, RedisClient> getRedisClientMap();
}
